<!DOCTYPE html>

<p>Test for <a href="http://crbug.com/172802">bug 172802</a>
- Wrong default Content-Type set in XMLHttpRequest.send(DOMString)</p>
<p>Should be text/plain;charset=UTF-8:</p>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();

    objXmlHttp = new XMLHttpRequest;
    objXmlHttp.open("POST", "print-content-type.cgi", false);
    objXmlHttp.send("");
    document.write("<pre>" + objXmlHttp.responseText + "</pre>");
</script>
